.class public abstract Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;
.super Ljava/lang/Object;


# instance fields
.field private context:Ljava/util/List;

.field private deviceCreatedTimestamp:J

.field private eventId:Ljava/lang/String;

.field private trueTimestamp:Ljava/lang/Long;


# direct methods
.method public constructor <init>()V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->context:Ljava/util/List;

    invoke-static {}, Lcom/snowplowanalytics/snowplow/tracker/utils/Util;->getEventId()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->eventId:Ljava/lang/String;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->deviceCreatedTimestamp:J

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->trueTimestamp:Ljava/lang/Long;

    return-void
.end method

.method static synthetic access$000(Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->context:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$100(Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->eventId:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$200(Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;)J
    .locals 2

    iget-wide v0, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->deviceCreatedTimestamp:J

    return-wide v0
.end method

.method static synthetic access$300(Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;)Ljava/lang/Long;
    .locals 1

    iget-object v0, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->trueTimestamp:Ljava/lang/Long;

    return-object v0
.end method


# virtual methods
.method public customContext(Ljava/util/List;)Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;
    .locals 1

    iput-object p1, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->context:Ljava/util/List;

    invoke-virtual {p0}, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->self()Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;

    move-result-object v0

    return-object v0
.end method

.method public deviceCreatedTimestamp(J)Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;
    .locals 1

    iput-wide p1, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->deviceCreatedTimestamp:J

    invoke-virtual {p0}, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->self()Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;

    move-result-object v0

    return-object v0
.end method

.method public eventId(Ljava/lang/String;)Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;
    .locals 1

    iput-object p1, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->eventId:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->self()Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;

    move-result-object v0

    return-object v0
.end method

.method protected abstract self()Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;
.end method

.method public timestamp(J)Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;
    .locals 1
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    iput-wide p1, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->deviceCreatedTimestamp:J

    invoke-virtual {p0}, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->self()Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;

    move-result-object v0

    return-object v0
.end method

.method public trueTimestamp(J)Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;
    .locals 1

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    iput-object v0, p0, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->trueTimestamp:Ljava/lang/Long;

    invoke-virtual {p0}, Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;->self()Lcom/snowplowanalytics/snowplow/tracker/events/AbstractEvent$Builder;

    move-result-object v0

    return-object v0
.end method
